package com.ruoyi.report.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @version v1.0
 * @ProjectName: report
 * @ClassName: reportData
 * @Description: 报表数据实体类
 * @Author: sunyan
 * @Date: 2022/3/2 15:24
 */
public class ReportWorkbookConfig extends BaseEntity {
    //报表数据id
    private Long id;
    //报表名称
    private String reportName;
    //报表数据
    private String reportData;
    //数据集id
    private String datasetId;
    //是否公开
    private char isPublic;
    //是否为模板
    private char isTemplate;
    // 所属分类
    private Integer belongto;
    //删除标志
    private String delFlag;

    private String sheetData;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public String getReportData() {
        return reportData;
    }

    public void setReportData(String reportData) {
        this.reportData = reportData;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public char getIsPublic() { return isPublic; }

    public void setIsPublic(char isPublic) { this.isPublic = isPublic; }

    public char getIsTemplate() { return isTemplate; }

    public void setIsTemplate(char isTemplate) { this.isTemplate = isTemplate; }

    public Integer getBelongto() { return belongto; }

    public void setBelongto(Integer belongto) { this.belongto = belongto; }

    public String getDatasetId() {
        return datasetId;
    }

    public void setDatasetId(String datasetId) {
        this.datasetId = datasetId;
    }

    public String getSheetData() {
        return sheetData;
    }

    public void setSheetData(String sheetData) {
        this.sheetData = sheetData;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("id", id)
                .append("reportName", reportName)
                .append("reportData", reportData)
                .append("datasetId", datasetId)
                .append("isPublic",isPublic)
                .append("isTemplate",isTemplate)
                .append("belongto",belongto)
                .append("delFlag", delFlag)
                .toString();
    }
}
